Release 10.1A: OpenEdge Development:
Progress 4GL Reference


CURRENT-LANGUAGE function

Returns the current value of the CURRENT-LANGUAGE variable.

Note: Does not apply to SpeedScript programming.

Syntax

CURRENT-LANGUAGE 

Example

The following example displays a message indicating the setting of your CURRENT-LANGUAGE:

r-curlng.p
DEFINE VARIABLE cur-lang AS CHARACTER.

cur-lang = CURRENT-LANGUAGE.

IF cur-lang = "?"
THEN MESSAGE "Your current language is not set.".
ELSE MESSAGE "Your current language is" cur-lang. 

Notes

See also

COMPILE statement, CURRENT-LANGUAGE statement


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095